package com.etheart.music.service;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.etheart.model.entity.Resource;
import com.etheart.model.entity.Song;

public interface ResourceService {

	@Transactional(readOnly = true)
	public abstract List<Resource> findAll();

	@Transactional
	public abstract void addResource(Resource song);

	@Transactional
	public abstract void updateResource(Resource song); 

	@Transactional
	public abstract void deleteResource(Resource song);

	public abstract Resource findById(Long id);

	public abstract Resource findByNetId(String netId);


	
}